Skip to content

Conversation

@zackad
Copy link
Owner

@zackad zackad commented Jan 17, 2025

Related GH-61

TODO:

  • need to investigate why block statement body is missing when parsed from html attribute

@zackad zackad added Enhancement New feature or request Parser Logic related on how to parse twig template labels Jan 17, 2025
Comment on lines +448 to +449
const tagExpression = this.matchTag();
element.attributes.push(tagExpression);
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think storing twig tags as html attribute is correct. They have different data structure that might be incompatible with each other. Maybe we can introduce new property into Element node. I'm not sure what we should named it (statements, tags).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Enhancement New feature or request Parser Logic related on how to parse twig template

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants